give meaningful error message if qemu device model is unavailable
authorMichael Tokarev <mjt@tls.msk.ru>
Sun, 24 Apr 2022 09:26:38 +0000 (12:26 +0300)
committerMaximilian Engelhardt <maxi@daemonizer.de>
Thu, 23 Mar 2023 21:26:15 +0000 (22:26 +0100)
commit44cffc29fcd435ea7c3d2bc89810fae572a0c799
tree48b1bd9890b320f0602929b7aa93f9f12fb0cb9b
parent1bed767abd757b08a77caec1eb7daecb6c4d971a
give meaningful error message if qemu device model is unavailable

There's no sense to switch to qemu-xen-traditional device model
if that one is not enabled in the first place. This way we'll
have a chance later to print a message suggesting to install the
missing qemu package if we *actually* need qemu for the device model.
tools/libs/light/libxl_create.c
tools/libs/light/libxl_dm.c